

#ifndef __SYSTEM_H
#define __SYSTEM_H

#define SAVE_QUOTA_NUM  7

extern u8 start_function_key; 
extern u8 quota_point_eliminate;
extern u8 consume_mode_cut; 
extern u8 fixed_money_point;
extern u8 save_quota_buf[SAVE_QUOTA_NUM];
extern u8 send_save_quota_buf[SAVE_QUOTA_NUM];
//extern code u8 display_cmd_con[16];



void system_init(void);

void system_main(void);

void eeprom_in_quota(void);

extern void system_clean();

extern void dec_to_decascii(u8 *des,u8 *src,u8 len,u8 half);
extern void consume_money(void);
extern void set_quota(void);
extern void set_fixed_money(void);
extern void set_quota_consume_mode(void);





#endif

